var conf = function(id)
{
var link = document.getElementById(id);
if(confirm("Do you really want to delete this?"))
return true;
else
return false;
}